import { request } from "@/utils";

// 用户注册
const register = (username, password) => {
    return request({
        url: '/user/register',
        method: 'POST',
        params: {
            username: username,
            password: password
        }
    })
}
export {
    register
}